package com.software.myopiaparents.view.dialog;

import android.app.Dialog;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;

import com.software.myopiaparents.R;


/**
 * @author penglei.
 * @time 2020/5/28.
 * @description
 */

public class DialogWait extends Dialog {
    public DialogWait(Context context) {
        this(context, R.style.dialog_wait_theme);
    }

    public DialogWait(Context context, int themeResId) {
        super(context, themeResId);

        initView();
    }

    private void initView() {
        View rootView = LayoutInflater.from(getContext()).inflate(R.layout.dialog_loading, null, true);
        setContentView(rootView);
    }
}